package ren.kane.phoenix.design.mefiator;

/**
 * @author renrk(1275) on 2018-10-31 8:21 PM
 **/
public class MediatorPatternDemo {

    public static void main(String[] args) {
        User robert = new User("Robert");
        User john = new User("John");

        robert.sendMessage("Hi! John!");
        john.sendMessage("Hello! Robert!");
    }
}
